package com.kgc.sbt.beans;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.io.Serializable;
import java.util.Date;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

/**
 * vip
 * @author 
 */
//@ApiModel(value="com.kgc.sbt.beans.Vip会员信息表")
@Data
public class Vip implements Serializable {
    /**
     * 用户Id
     */
    @ApiModelProperty(value="用户Id")
    private Integer userId;

    /**
     * 会员状态
     */
    @ApiModelProperty(value="会员状态:0不是会员，1钻石会员")
    private Integer vipStatus;

    /**
     * 优惠券起始时间
     */
    @ApiModelProperty(value="优惠券起始时间")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone="GMT+8")
    private Date startTime;

    /**
     * 会员失效时间
     */
    @ApiModelProperty(value="会员失效时间")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone="GMT+8")
    private Date endTime;

    private static final long serialVersionUID = 1L;
}